
package com.yckj.domain;

import lombok.Data;

/**
 * 律师档案封装类
 * @author amber
 * @version 1.0
 */
//实习第四天
@Data      //lombok注解  别人已写好
public class Lawyer {
    /**
     * 律师姓名
     */
    private String lawyerName;
    /**
     * 律师性别
     */
    private String gender;
    /**
     * 律师民族
     */
    private String nation;
    /**
     * 律师生日
     */
    private String birthDay;
    /**
     * 律师毕业学校
     */
    private String school;

    public String getLawyerName() {
        return lawyerName;
    }

    public void setLawyerName(String lawyerName) {
        this.lawyerName = lawyerName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    @Override
    public String toString() {
        return "Lawyer{" +
                "lawyerName='" + lawyerName + '\'' +
                ", gender='" + gender + '\'' +
                ", nation='" + nation + '\'' +
                ", birthDay='" + birthDay + '\'' +
                ", school='" + school + '\'' +
                '}';
    }
}
